package com.blt.govdata.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.blt.govdata.model.TSysOrganization;
import com.blt.govdata.model.vo.TSysOrganizationVo;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * Mapper 接口
 * </p>
 * @author AustinGJ123
 * @since 2018-03-26
 */
public interface TSysOrganizationMapper extends BaseMapper<TSysOrganization> {

    List<TSysOrganizationVo> selectVoPage(Page<TSysOrganizationVo> page, Map<String, Object> paramMap);

    TSysOrganizationVo selectVoById(String id);

    int selectVoCount(Map<String, Object> paramMap);

    int baseInsert(TSysOrganization entity);

    int baseUpdate(TSysOrganization entity);

    int baseDelete(String id);

    List<TSysOrganizationVo> selectVoOrgsByPid(Map<String, Object> params);
}